let nums = [2, 3, 1, 1, 4]
var canJump = function (nums) {

};